<template>
  <div class="work-null">
    <span class="null-images"></span>
    <div class="work-null-tips">
      <p class="subject-title" v-text="text"></p>
    </div>
  </div>
</template>
<script>
export default {
  name: 'EmptyData',
  props: {
    text: {
      type: String
    }
  }
}
</script>
<style scoped>
  .work-null {
    text-align: center;
    min-height: 80%;
    height: calc(100vh - 96px) !important;
    height: -moz-calc(100% - 96px) !important;
    height: -webkit-calc(100% - 96px);
  }
  .work-null .null-images {
    display: inline-block;
    background: url(../../../static/images/empty/null-data.png) no-repeat;
    width: 280px;
    height: 165px;
    background-size: 280px;
    vertical-align: middle;
    margin-top: 100px;
  }
  .work-null .work-null-tips {
    text-align: center;
    color: #666;
    margin-top: 20px;
  }

  .work-null .subject-title {
    color: #aaaaaa;
    font-size: 12px;
  }
</style>
